how embed a video on EaselJS [on hold]

Posted by user3697195 on Programmers See other posts from Programmers or by user3697195
Published on 2014-06-01T21:37:55Z Indexed on 2014/06/01 21:53 UTC
Read the original article Hit count: 224

Filed under:
|
|

i try to make a videoplayer with EaselJS

and the console dont says about it this is my HTML http://pastebin.com/djY4cpyX

this is my Javascript function init() { var stage = new createjs.Stage('gameCanvas');;

            video = document.createElement('video');
        video.setAttribute('webkit-playsinline');
        video.src = 'js/bitmap/trailer.mp4';
        var Video = new createjs.Bitmap(video);

        stage.addChild(Video);

createjs.Ticker.addEventListener(stage);
createjs.Ticker.setFPS(24);

stage.update();

}

© Programmers or respective owner

Related posts about html5

Related posts about video